package com.watercloud.dao;

import com.pojo.QueryInfo;
import com.pojo.UserInfo;

import java.util.List;

public interface UserDao {
    /*<select id="selectUserInfo" resultType="com.pojo.UserInfo">*/
    List<UserInfo> selectUserInfo();

    /*<select id="selectSpecifiedUsers" parameterType="com.pojo.UserInfo" resultType="com.pojo.UserInfo">*/
    List<UserInfo> selectSpecifiedUser(QueryInfo queryInfo);

    /*<select id="update" resultType="com.pojo.UserInfo">*/
    int update(UserInfo userInfo);
}
